import { ajax } from "@/utils/request";
import '@/mock/home/home'
import'@/mock/home/home1'
import "@/mock/home/home2"
import '@/mock/home/home3'
import '@/mock/home/home4'

export function gethospital(data:{cate:string}){
    return ajax({
        url: "/gethospital",
        method:'post',
        data,
    });
}
export function getdoctor(data:{catedate:string}){
    return ajax({
        url: "/getdoctor",
        method:'post',
        data,
    });
}
export function getdoctortext(){
    return ajax({
        url:'/getdoctortext'
    })
}
export function gethospitallist(){
    return ajax({
        url:'/gethospitallist'
    })
}
export function getdoctorlist(){
    return ajax({
        url:'/getdoctorlist'
    })
}

